package com.example.demo.client.evt.cssmqry.role;

import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author linxiao
 * @Date 2020/06/24  17:14
 */
@ApiModel(description = "查询角色关联的菜单权限信息-入参")
public class GetMenuPerOfRoleEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = 4318236361393934682L;
    @ApiModelProperty(name = "关键字检索：匹配菜单名称")
    private String keyword;
    @ApiModelProperty("角色id")
    @NotNull(message = "roleId cannot be blank.")
    private Long roleId;

    @Override
    public String toString() {
        return "GetMenuPerOfRoleEvt{" +
            "keyword='" + keyword + '\'' +
            ", roleId=" + roleId +
            '}';
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
